package cn.jilian.meta.handler.domain.proxys;

import cn.jilian.meta.handler.domain.Proxy;
import cn.jilian.meta.handler.domain.actions.ActionApi;
import cn.jilian.meta.handler.domain.actions.ActionMethods;

public class AjaxProxy extends Proxy {
	
	/**
	 * 跨域请求时打开
	 * */
	private Boolean useDefaultXhrHeader;
	
	private String idParam;
	
	private String limitParam;
	
	private String groupParam;
	
	private String filterParam;
	
	private String groupDirectionParam;
	
	private Boolean simpleSortMode;
	
	private String directionParam;
	
	private Object extraParams;

	/**
	 * json请求格式时设为true
	 * */
	private Boolean paramsAsJson;
	
	private String pageParam;
	
	private String sortParam;
	
	private String startParam;
	
	private ActionMethods actionMethods;
	
	private ActionApi api;
	
	private Boolean noCache;
	
	private String cacheString;

	public Boolean getUseDefaultXhrHeader() {
		return useDefaultXhrHeader;
	}

	public void setUseDefaultXhrHeader(Boolean useDefaultXhrHeader) {
		this.useDefaultXhrHeader = useDefaultXhrHeader;
	}

	public String getIdParam() {
		return idParam;
	}

	public void setIdParam(String idParam) {
		this.idParam = idParam;
	}

	public String getLimitParam() {
		return limitParam;
	}

	public void setLimitParam(String limitParam) {
		this.limitParam = limitParam;
	}

	public String getGroupParam() {
		return groupParam;
	}

	public void setGroupParam(String groupParam) {
		this.groupParam = groupParam;
	}

	public String getFilterParam() {
		return filterParam;
	}

	public void setFilterParam(String filterParam) {
		this.filterParam = filterParam;
	}

	public String getGroupDirectionParam() {
		return groupDirectionParam;
	}

	public void setGroupDirectionParam(String groupDirectionParam) {
		this.groupDirectionParam = groupDirectionParam;
	}

	public String getDirectionParam() {
		return directionParam;
	}

	public void setDirectionParam(String directionParam) {
		this.directionParam = directionParam;
	}

	public Object getExtraParams() {
		return extraParams;
	}

	public void setExtraParams(Object extraParams) {
		this.extraParams = extraParams;
	}

	public Boolean getParamsAsJson() {
		return paramsAsJson;
	}

	public void setParamsAsJson(Boolean paramsAsJson) {
		this.paramsAsJson = paramsAsJson;
	}

	public String getPageParam() {
		return pageParam;
	}

	public void setPageParam(String pageParam) {
		this.pageParam = pageParam;
	}

	public String getSortParam() {
		return sortParam;
	}

	public void setSortParam(String sortParam) {
		this.sortParam = sortParam;
	}

	public String getStartParam() {
		return startParam;
	}

	public void setStartParam(String startParam) {
		this.startParam = startParam;
	}

	public ActionMethods getActionMethods() {
		return actionMethods;
	}

	public void setActionMethods(ActionMethods actionMethods) {
		this.actionMethods = actionMethods;
	}

	public ActionApi getApi() {
		return api;
	}

	public void setApi(ActionApi api) {
		this.api = api;
	}

	public Boolean getSimpleSortMode() {
		return simpleSortMode;
	}

	public void setSimpleSortMode(Boolean simpleSortMode) {
		this.simpleSortMode = simpleSortMode;
	}

	public Boolean getNoCache() {
		return noCache;
	}

	public void setNoCache(Boolean noCache) {
		this.noCache = noCache;
	}

	public String getCacheString() {
		return cacheString;
	}

	public void setCacheString(String cacheString) {
		this.cacheString = cacheString;
	}
	
	
}
